package com.own.component.message.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Map;

/**
 * BaseMessageModel
 *
 * @author chenxueli
 * @date 2022-08-15 11:16:00
 */
@Data
public class BaseMessageModel<T> {

    @Schema(title = "接收者信息")
    private String receiver;

    @Schema(title = "内容信息")
    private T content;

    @Schema(title = "参数信息")
    private Map<String, String> paramMap;

}
